<?php
namespace app\admin\controller;

class Tag extends Base
{
    public function add()
    {
        return $this->fetch();
    }

    public function edit()
    {
        return $this->fetch();
    }

    public function deleteHandle()
    {




    }


    public function tableHandle()
    {
        $rt = $this->logic()->tag()->getHotTag();
        foreach ($rt as &$item) {
            $item['value'] = $item['tag_id'];
        }
        return json_print($rt, '', $this->returnStyle);
    }
}